<div id="user" style="background-color:#FFFFCC;padding:2px;font-size:10px;color:black;text-align:center;display:none"></div>
	
	<?php if ($sf_request->hasErrors()): ?>
	
				<div align="center" id="errorline" style="width:100%;padding:10px;background-color:#FFFFCC;border-bottom:1px solid #E3E3B4;color:#2C2C2C;text-align:center;display:none">
					<center>
					<div style="width:100%;text-align:left;">
					<ul style="padding-top:3px;padding-bottom:0px;margin:0px;list-style-image: url(/images/icons/exclamation.png);">
				  <?php foreach ( $sf_request->getErrors() as $error) 
				    {
						echo '<li style="padding-top:0px;padding-bottom:5px;margin:0px">';
						echo '<span style="font-size:12px;">'.$error.'</span>';
						echo '</li>';


				    }?>
					</ul>
					</div>
					</center>
			</div>
			<script>

			$('errorline').hide();
		  new Effect.Appear('errorline'); 

			</script>
		
		
	<?php endif;?>
	<?php use_helper('Validation'); ?>
		
			
<?php echo form_tag('user/signup') ?> 



	<div style="padding:10px;text-align:right;" dir="rtl">


		
<span style="font-size:18px;color:#5f5f5f"><img src="/images/icons/user.png"> הרשמה לאתר</span><br>

<Br>

<span style="font-size:18px;color:#000">אימייל: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('email', '','style="width:350px;"') ?> </span><br>		

<span style="font-size:18px;color:#000">שם פרטי: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('firstName', '','style="width:350px;"') ?> </span><br>	

<span style="font-size:18px;color:#000">שם משפחה: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_tag('lastName', '','style="width:350px;"') ?> </span><br>	

<span style="font-size:18px;color:#000"><img src="/images/icons/key.png"> סיסמה: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_password_tag('password_1', '','maxlength="12"') ?> </span><br>

<span style="font-size:18px;color:#000"><img src="/images/icons/key.png"> סיסמה שוב: </span><span style="font-size:18px;color:#5f5f5f"><?php echo input_password_tag('password_2', '','maxlength="12"') ?> </span><br>




<span style="font-size:18px;color:#000">אני מסכים לתנאי השימוש: </span><span style="font-size:18px;color:#5f5f5f"><?php echo checkbox_tag('agreement', 1, false) ?> כן
<small style="font-size:12px">(אתה חייב להסכים לתנאי השימוש )</small></span><br>



<?php echo input_hidden_tag('referer', $sf_request->getAttribute('referer')) ?>
<?php echo input_hidden_tag('type', $sf_request->getParameter('type')) ?>

		<Br>

		




		
<?php echo submit_tag('הרשם') ?>





		
	</form>
	
	</div>
